﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Products;
using MinhTuan;

public partial class admin_report_reportsellday : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            
        }
    }
    protected void calday_SelectionChanged(object sender, EventArgs e)
    {
        Show();
    }
    protected void Show()
    {
        Label1.Text = calday.SelectedDate.ToShortDateString();
        this.Lisproducts.DataSource = Product.ReportSellByDay(calday.SelectedDate);
        this.Lisproducts.DataBind();
    }
}
